(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/app/score/children/sh-score-banner" ], {
    2870: function(e, t, n) {
        n.r(t);
        var r, o = n("e137"), a = n.n(o);
        for (r in o) "default" !== r && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(r);
        t.default = a.a;
    },
    "2bd1": function(e, t, n) {
        var r = n("6a34");
        n.n(r).a;
    },
    "6a34": function(e, t, n) {},
    8086: function(e, t, n) {
        n.r(t);
        var r, o = n("a952"), a = n("2870");
        for (r in a) "default" !== r && function(e) {
            n.d(t, e, function() {
                return a[e];
            });
        }(r);
        n("2bd1");
        var c = n("f0c5"), o = Object(c.a)(a.default, o.b, o.c, !1, null, null, null, !1, o.a, void 0);
        t.default = o.exports;
    },
    a952: function(e, t, n) {
        n.d(t, "b", function() {
            return r;
        }), n.d(t, "c", function() {
            return o;
        }), n.d(t, "a", function() {});
        var r = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    },
    e137: function(e, o, a) {
        (function(c) {
            Object.defineProperty(o, "__esModule", {
                value: !0
            }), o.default = void 0;
            var e, u = (e = a("a34a")) && e.__esModule ? e : {
                default: e
            };
            function i(e, t, n, r, o, a, c) {
                try {
                    var u = e[a](c), i = u.value;
                } catch (e) {
                    return n(e), 0;
                }
                u.done ? t(i) : Promise.resolve(i).then(r, o);
            }
            function t(u) {
                return function() {
                    var e = this, c = arguments;
                    return new Promise(function(t, n) {
                        var r = u.apply(e, c);
                        function o(e) {
                            i(r, t, n, o, a, "next", e);
                        }
                        function a(e) {
                            i(r, t, n, o, a, "throw", e);
                        }
                        o(void 0);
                    });
                };
            }
            var n, r = {
                components: {},
                data: function() {
                    return {
                        swiperCurrent: 0,
                        webviewId: 0,
                        routerTo: this.$tools.routerTo
                    };
                },
                props: {
                    value: {
                        type: Object,
                        default: {}
                    }
                },
                created: (n = t(u.default.mark(function e() {
                    return u.default.wrap(function(e) {
                        for (;;) switch (e.prev = e.next) {
                          case 0:
                          case "end":
                            return e.stop();
                        }
                    }, e);
                })), function() {
                    return n.apply(this, arguments);
                }),
                computed: {},
                methods: {
                    doColorThief: function() {
                        var a = this;
                        return t(u.default.mark(function e() {
                            var n, r, t, o;
                            return u.default.wrap(function(e) {
                                for (;;) switch (e.prev = e.next) {
                                  case 0:
                                    r = (n = a).detail.list[a.swiperCurrent], "" === (t = r.bgcolor) ? (o = c.createCanvasContext("colorThief", n), 
                                    0 !== n.webviewId && o.webviewId !== n.webviewId || (n.webviewId = o.webviewId, 
                                    c.getImageInfo({
                                        src: r.image,
                                        success: function(t) {
                                            o.drawImage(t.path, 0, 0, t.width, t.height), o.draw(!0, function(e) {
                                                c.canvasGetImageData({
                                                    canvasId: "colorThief",
                                                    x: 0,
                                                    y: 0,
                                                    width: parseInt(t.width),
                                                    height: parseInt(t.height),
                                                    success: function(e) {
                                                        e = colorThief(e.data).color().getHex();
                                                        n.$set(r, "bgcolor", e), n.$emit("getbgcolor", e);
                                                    }
                                                }, n);
                                            });
                                        }
                                    }))) : (n.$set(r, "bgcolor", t), n.$emit("getbgcolor", t));

                                  case 4:
                                  case "end":
                                    return e.stop();
                                }
                            }, e);
                        }))();
                    },
                    swiperChange: function(e) {
                        this.swiperCurrent = e.detail.current;
                    },
                    jump: function(e, t) {
                        this.$Router.push({
                            path: e,
                            query: t
                        });
                    }
                }
            };
            o.default = r;
        }).call(this, a("543d").default);
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/app/score/children/sh-score-banner-create-component", {
    "pages/app/score/children/sh-score-banner-create-component": function(e, t, n) {
        n("543d").createComponent(n("8086"));
    }
}, [ [ "pages/app/score/children/sh-score-banner-create-component" ] ] ]);